package com.example.scaffold_demo.mvp.di.user.bean;

import android.os.Parcel;
import android.os.Parcelable;


import com.example.scaffold_demo.bean.BasePageBean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Author: 李巷阳
 * Date: 2020-02-11
 * Version: V2.0.0
 * Part:
 * Description:
 */
public class PersonAcgnRankBean extends BasePageBean implements Serializable, Parcelable {

    private List<ListBean> list;

    protected PersonAcgnRankBean(Parcel in) {
    }

    public static final Creator<PersonAcgnRankBean> CREATOR = new Creator<PersonAcgnRankBean>() {
        @Override
        public PersonAcgnRankBean createFromParcel(Parcel in) {
            return new PersonAcgnRankBean(in);
        }

        @Override
        public PersonAcgnRankBean[] newArray(int size) {
            return new PersonAcgnRankBean[size];
        }
    };

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
    }

    public static class ListBean implements Serializable,Parcelable{
        /**
         * id : 81
         * name : 波雅·汉库克
         * head_thumb : http://moego-prod-1256467324.file.myqcloud.com/picture/people/c1254bc3-4620-4a2c-bb67-7f24b112db22.jpg
         * stock_id : 1626
         * price : 20.000
         * quote_change : 0
         * listing_status : 1
         * follow_num : 125
         * kline : [{"stock_id":"1626","time":1581675900,"price":"20.000"},{"stock_id":"1626","time":1581676200,"price":"20.000"},{"stock_id":"1626","time":1581676500,"price":"20.000"},{"stock_id":"1626","time":1581676800,"price":"20.000"},{"stock_id":"1626","time":1581677100,"price":"20.000"},{"stock_id":"1626","time":1581677400,"price":"20.000"},{"stock_id":"1626","time":1581677700,"price":"20.000"},{"stock_id":"1626","time":1581678000,"price":"20.000"},{"stock_id":"1626","time":1581678300,"price":"20.000"},{"stock_id":"1626","time":1581678600,"price":"20.000"},{"stock_id":"1626","time":1581678900,"price":"20.000"},{"stock_id":"1626","time":1581679200,"price":"20.000"},{"stock_id":"1626","time":1581679500,"price":"20.000"},{"stock_id":"1626","time":1581679800,"price":"20.000"},{"stock_id":"1626","time":1581680100,"price":"20.000"},{"stock_id":"1626","time":1581680400,"price":"20.000"},{"stock_id":"1626","time":1581680700,"price":"20.000"},{"stock_id":"1626","time":1581681000,"price":"20.000"},{"stock_id":"1626","time":1581681300,"price":"20.000"},{"stock_id":"1626","time":1581681600,"price":"20.000"},{"stock_id":"1626","time":1581681900,"price":"20.000"},{"stock_id":"1626","time":1581682200,"price":"20.000"},{"stock_id":"1626","time":1581682500,"price":"20.000"},{"stock_id":"1626","time":1581682800,"price":"20.000"},{"stock_id":"1626","time":1581683100,"price":"20.000"},{"stock_id":"1626","time":1581683400,"price":"20.000"},{"stock_id":"1626","time":1581683700,"price":"20.000"},{"stock_id":"1626","time":1581684000,"price":"20.000"},{"stock_id":"1626","time":1581684300,"price":"20.000"},{"stock_id":"1626","time":1581684600,"price":"20.000"},{"stock_id":"1626","time":1581684900,"price":"20.000"},{"stock_id":"1626","time":1581685200,"price":"20.000"},{"stock_id":"1626","time":1581685500,"price":"20.000"},{"stock_id":"1626","time":1581685800,"price":"20.000"},{"stock_id":"1626","time":1581686100,"price":"20.000"},{"stock_id":"1626","time":1581686400,"price":"20.000"},{"stock_id":"1626","time":1581686700,"price":"20.000"},{"stock_id":"1626","time":1581687000,"price":"20.000"},{"stock_id":"1626","time":1581687300,"price":"20.000"},{"stock_id":"1626","time":1581687600,"price":"20.000"},{"stock_id":"1626","time":1581687900,"price":"20.000"},{"stock_id":"1626","time":1581688200,"price":"20.000"},{"stock_id":"1626","time":1581688500,"price":"20.000"},{"stock_id":"1626","time":1581688800,"price":"20.000"},{"stock_id":"1626","time":1581689100,"price":"20.000"},{"stock_id":"1626","time":1581689400,"price":"20.000"},{"stock_id":"1626","time":1581689700,"price":"20.000"},{"stock_id":"1626","time":1581690000,"price":"20.000"},{"stock_id":"1626","time":1581690300,"price":"20.000"},{"stock_id":"1626","time":1581690600,"price":"20.000"},{"stock_id":"1626","time":1581690900,"price":"20.000"},{"stock_id":"1626","time":1581691200,"price":"20.000"},{"stock_id":"1626","time":1581691500,"price":"20.000"},{"stock_id":"1626","time":1581691800,"price":"20.000"},{"stock_id":"1626","time":1581692100,"price":"20.000"},{"stock_id":"1626","time":1581692400,"price":"20.000"},{"stock_id":"1626","time":1581692700,"price":"20.000"},{"stock_id":"1626","time":1581693000,"price":"20.000"},{"stock_id":"1626","time":1581693300,"price":"20.000"},{"stock_id":"1626","time":1581693600,"price":"20.000"},{"stock_id":"1626","time":1581693900,"price":"20.000"},{"stock_id":"1626","time":1581694200,"price":"20.000"},{"stock_id":"1626","time":1581694500,"price":"20.000"},{"stock_id":"1626","time":1581694800,"price":"20.000"},{"stock_id":"1626","time":1581695100,"price":"20.000"},{"stock_id":"1626","time":1581695400,"price":"20.000"},{"stock_id":"1626","time":1581695700,"price":"20.000"},{"stock_id":"1626","time":1581696000,"price":"20.000"},{"stock_id":"1626","time":1581696300,"price":"20.000"},{"stock_id":"1626","time":1581696600,"price":"20.000"},{"stock_id":"1626","time":1581696900,"price":"20.000"},{"stock_id":"1626","time":1581697200,"price":"20.000"},{"stock_id":"1626","time":1581697500,"price":"20.000"},{"stock_id":"1626","time":1581697800,"price":"20.000"},{"stock_id":"1626","time":1581698100,"price":"20.000"},{"stock_id":"1626","time":1581698400,"price":"20.000"},{"stock_id":"1626","time":1581698700,"price":"20.000"},{"stock_id":"1626","time":1581699000,"price":"20.000"},{"stock_id":"1626","time":1581699300,"price":"20.000"},{"stock_id":"1626","time":1581699600,"price":"20.000"},{"stock_id":"1626","time":1581699900,"price":"20.000"},{"stock_id":"1626","time":1581700200,"price":"20.000"},{"stock_id":"1626","time":1581700500,"price":"20.000"},{"stock_id":"1626","time":1581700800,"price":"20.000"},{"stock_id":"1626","time":1581701100,"price":"20.000"},{"stock_id":"1626","time":1581701400,"price":"20.000"},{"stock_id":"1626","time":1581701700,"price":"20.000"},{"stock_id":"1626","time":1581702000,"price":"20.000"},{"stock_id":"1626","time":1581702300,"price":"20.000"},{"stock_id":"1626","time":1581702600,"price":"20.000"},{"stock_id":"1626","time":1581702900,"price":"20.000"},{"stock_id":"1626","time":1581703200,"price":"20.000"},{"stock_id":"1626","time":1581703500,"price":"20.000"},{"stock_id":"1626","time":1581703800,"price":"20.000"},{"stock_id":"1626","time":1581704100,"price":"20.000"},{"stock_id":"1626","time":1581704400,"price":"20.000"},{"stock_id":"1626","time":1581704700,"price":"20.000"},{"stock_id":"1626","time":1581705000,"price":"20.000"},{"stock_id":"1626","time":1581705300,"price":"20.000"},{"stock_id":"1626","time":1581705600,"price":"20.000"},{"stock_id":"1626","time":1581705900,"price":"20.000"},{"stock_id":"1626","time":1581706200,"price":"20.000"},{"stock_id":"1626","time":1581706500,"price":"20.000"},{"stock_id":"1626","time":1581706800,"price":"20.000"},{"stock_id":"1626","time":1581707100,"price":"20.000"},{"stock_id":"1626","time":1581707400,"price":"20.000"},{"stock_id":"1626","time":1581707700,"price":"20.000"},{"stock_id":"1626","time":1581708000,"price":"20.000"},{"stock_id":"1626","time":1581708300,"price":"20.000"},{"stock_id":"1626","time":1581708600,"price":"20.000"},{"stock_id":"1626","time":1581708900,"price":"20.000"},{"stock_id":"1626","time":1581709200,"price":"20.000"},{"stock_id":"1626","time":1581709500,"price":"20.000"},{"stock_id":"1626","time":1581709800,"price":"20.000"},{"stock_id":"1626","time":1581710100,"price":"20.000"},{"stock_id":"1626","time":1581710400,"price":"20.000"},{"stock_id":"1626","time":1581710700,"price":"20.000"},{"stock_id":"1626","time":1581711000,"price":"20.000"},{"stock_id":"1626","time":1581711300,"price":"20.000"},{"stock_id":"1626","time":1581711600,"price":"20.000"},{"stock_id":"1626","time":1581711900,"price":"20.000"},{"stock_id":"1626","time":1581712200,"price":"20.000"},{"stock_id":"1626","time":1581712500,"price":"20.000"},{"stock_id":"1626","time":1581712800,"price":"20.000"},{"stock_id":"1626","time":1581713100,"price":"20.000"},{"stock_id":"1626","time":1581713400,"price":"20.000"},{"stock_id":"1626","time":1581713700,"price":"20.000"},{"stock_id":"1626","time":1581714000,"price":"20.000"},{"stock_id":"1626","time":1581714300,"price":"20.000"},{"stock_id":"1626","time":1581714600,"price":"20.000"},{"stock_id":"1626","time":1581714900,"price":"20.000"},{"stock_id":"1626","time":1581715200,"price":"20.000"},{"stock_id":"1626","time":1581715500,"price":"20.000"},{"stock_id":"1626","time":1581715800,"price":"20.000"},{"stock_id":"1626","time":1581716100,"price":"20.000"},{"stock_id":"1626","time":1581716400,"price":"20.000"},{"stock_id":"1626","time":1581716700,"price":"20.000"},{"stock_id":"1626","time":1581717000,"price":"20.000"},{"stock_id":"1626","time":1581717300,"price":"20.000"},{"stock_id":"1626","time":1581717600,"price":"20.000"},{"stock_id":"1626","time":1581717900,"price":"20.000"},{"stock_id":"1626","time":1581718200,"price":"20.000"},{"stock_id":"1626","time":1581718500,"price":"20.000"},{"stock_id":"1626","time":1581718800,"price":"20.000"},{"stock_id":"1626","time":1581719100,"price":"20.000"},{"stock_id":"1626","time":1581719400,"price":"20.000"},{"stock_id":"1626","time":1581719700,"price":"20.000"},{"stock_id":"1626","time":1581720000,"price":"20.000"},{"stock_id":"1626","time":1581720300,"price":"20.000"},{"stock_id":"1626","time":1581720600,"price":"20.000"},{"stock_id":"1626","time":1581720900,"price":"20.000"},{"stock_id":"1626","time":1581721200,"price":"20.000"},{"stock_id":"1626","time":1581721500,"price":"20.000"},{"stock_id":"1626","time":1581721800,"price":"20.000"},{"stock_id":"1626","time":1581722100,"price":"20.000"},{"stock_id":"1626","time":1581722400,"price":"20.000"},{"stock_id":"1626","time":1581722700,"price":"20.000"},{"stock_id":"1626","time":1581723000,"price":"20.000"},{"stock_id":"1626","time":1581723300,"price":"20.000"},{"stock_id":"1626","time":1581723600,"price":"20.000"},{"stock_id":"1626","time":1581723900,"price":"20.000"},{"stock_id":"1626","time":1581724200,"price":"20.000"},{"stock_id":"1626","time":1581724500,"price":"20.000"},{"stock_id":"1626","time":1581724800,"price":"20.000"},{"stock_id":"1626","time":1581725100,"price":"20.000"},{"stock_id":"1626","time":1581725400,"price":"20.000"},{"stock_id":"1626","time":1581725700,"price":"20.000"},{"stock_id":"1626","time":1581726000,"price":"20.000"},{"stock_id":"1626","time":1581726300,"price":"20.000"},{"stock_id":"1626","time":1581726600,"price":"20.000"},{"stock_id":"1626","time":1581726900,"price":"20.000"},{"stock_id":"1626","time":1581727200,"price":"20.000"},{"stock_id":"1626","time":1581727500,"price":"20.000"},{"stock_id":"1626","time":1581727800,"price":"20.000"},{"stock_id":"1626","time":1581728100,"price":"20.000"},{"stock_id":"1626","time":1581728400,"price":"20.000"},{"stock_id":"1626","time":1581728700,"price":"20.000"},{"stock_id":"1626","time":1581729000,"price":"20.000"},{"stock_id":"1626","time":1581729300,"price":"20.000"},{"stock_id":"1626","time":1581729600,"price":"20.000"},{"stock_id":"1626","time":1581729900,"price":"20.000"},{"stock_id":"1626","time":1581730200,"price":"20.000"},{"stock_id":"1626","time":1581730500,"price":"20.000"},{"stock_id":"1626","time":1581730800,"price":"20.000"},{"stock_id":"1626","time":1581731100,"price":"20.000"},{"stock_id":"1626","time":1581731400,"price":"20.000"},{"stock_id":"1626","time":1581731700,"price":"20.000"},{"stock_id":"1626","time":1581732000,"price":"20.000"},{"stock_id":"1626","time":1581732300,"price":"20.000"},{"stock_id":"1626","time":1581732600,"price":"20.000"},{"stock_id":"1626","time":1581732900,"price":"20.000"},{"stock_id":"1626","time":1581733200,"price":"20.000"},{"stock_id":"1626","time":1581733500,"price":"20.000"},{"stock_id":"1626","time":1581733800,"price":"20.000"},{"stock_id":"1626","time":1581734100,"price":"20.000"},{"stock_id":"1626","time":1581734400,"price":"20.000"},{"stock_id":"1626","time":1581734700,"price":"20.000"},{"stock_id":"1626","time":1581735000,"price":"20.000"},{"stock_id":"1626","time":1581735300,"price":"20.000"},{"stock_id":"1626","time":1581735600,"price":"20.000"},{"stock_id":"1626","time":1581735900,"price":"20.000"},{"stock_id":"1626","time":1581736200,"price":"20.000"},{"stock_id":"1626","time":1581736500,"price":"20.000"},{"stock_id":"1626","time":1581736800,"price":"20.000"},{"stock_id":"1626","time":1581737100,"price":"20.000"},{"stock_id":"1626","time":1581737400,"price":"20.000"},{"stock_id":"1626","time":1581737700,"price":"20.000"},{"stock_id":"1626","time":1581738000,"price":"20.000"},{"stock_id":"1626","time":1581738300,"price":"20.000"},{"stock_id":"1626","time":1581738600,"price":"20.000"},{"stock_id":"1626","time":1581738900,"price":"20.000"},{"stock_id":"1626","time":1581739200,"price":"20.000"},{"stock_id":"1626","time":1581739500,"price":"20.000"},{"stock_id":"1626","time":1581739800,"price":"20.000"},{"stock_id":"1626","time":1581740100,"price":"20.000"},{"stock_id":"1626","time":1581740400,"price":"20.000"},{"stock_id":"1626","time":1581740700,"price":"20.000"},{"stock_id":"1626","time":1581741000,"price":"20.000"},{"stock_id":"1626","time":1581741300,"price":"20.000"},{"stock_id":"1626","time":1581741600,"price":"20.000"},{"stock_id":"1626","time":1581741900,"price":"20.000"},{"stock_id":"1626","time":1581742200,"price":"20.000"},{"stock_id":"1626","time":1581742500,"price":"20.000"},{"stock_id":"1626","time":1581742800,"price":"20.000"},{"stock_id":"1626","time":1581743100,"price":"20.000"},{"stock_id":"1626","time":1581743400,"price":"20.000"},{"stock_id":"1626","time":1581743700,"price":"20.000"},{"stock_id":"1626","time":1581744000,"price":"20.000"},{"stock_id":"1626","time":1581744300,"price":"20.000"},{"stock_id":"1626","time":1581744600,"price":"20.000"},{"stock_id":"1626","time":1581744900,"price":"20.000"},{"stock_id":"1626","time":1581745200,"price":"20.000"},{"stock_id":"1626","time":1581745500,"price":"20.000"},{"stock_id":"1626","time":1581745800,"price":"20.000"},{"stock_id":"1626","time":1581746100,"price":"20.000"},{"stock_id":"1626","time":1581746400,"price":"20.000"},{"stock_id":"1626","time":1581746700,"price":"20.000"},{"stock_id":"1626","time":1581747000,"price":"20.000"},{"stock_id":"1626","time":1581747300,"price":"20.000"},{"stock_id":"1626","time":1581747600,"price":"20.000"},{"stock_id":"1626","time":1581747900,"price":"20.000"},{"stock_id":"1626","time":1581748200,"price":"20.000"},{"stock_id":"1626","time":1581748500,"price":"20.000"},{"stock_id":"1626","time":1581748800,"price":"20.000"},{"stock_id":"1626","time":1581749100,"price":"20.000"},{"stock_id":"1626","time":1581749400,"price":"20.000"},{"stock_id":"1626","time":1581749700,"price":"20.000"},{"stock_id":"1626","time":1581750000,"price":"20.000"},{"stock_id":"1626","time":1581750300,"price":"20.000"},{"stock_id":"1626","time":1581750600,"price":"20.000"},{"stock_id":"1626","time":1581750900,"price":"20.000"},{"stock_id":"1626","time":1581751200,"price":"20.000"},{"stock_id":"1626","time":1581751500,"price":"20.000"},{"stock_id":"1626","time":1581751800,"price":"20.000"},{"stock_id":"1626","time":1581752100,"price":"20.000"},{"stock_id":"1626","time":1581752400,"price":"20.000"},{"stock_id":"1626","time":1581752700,"price":"20.000"},{"stock_id":"1626","time":1581753000,"price":"20.000"},{"stock_id":"1626","time":1581753300,"price":"20.000"},{"stock_id":"1626","time":1581753600,"price":"20.000"},{"stock_id":"1626","time":1581753900,"price":"20.000"},{"stock_id":"1626","time":1581754200,"price":"20.000"},{"stock_id":"1626","time":1581754500,"price":"20.000"},{"stock_id":"1626","time":1581754800,"price":"20.000"},{"stock_id":"1626","time":1581755100,"price":"20.000"},{"stock_id":"1626","time":1581755400,"price":"20.000"},{"stock_id":"1626","time":1581755700,"price":"20.000"},{"stock_id":"1626","time":1581756000,"price":"20.000"},{"stock_id":"1626","time":1581756300,"price":"20.000"},{"stock_id":"1626","time":1581756600,"price":"20.000"},{"stock_id":"1626","time":1581756900,"price":"20.000"},{"stock_id":"1626","time":1581757200,"price":"20.000"},{"stock_id":"1626","time":1581757500,"price":"20.000"},{"stock_id":"1626","time":1581757800,"price":"20.000"},{"stock_id":"1626","time":1581758100,"price":"20.000"},{"stock_id":"1626","time":1581758400,"price":"20.000"},{"stock_id":"1626","time":1581758700,"price":"20.000"},{"stock_id":"1626","time":1581759000,"price":"20.000"},{"stock_id":"1626","time":1581759300,"price":"20.000"},{"stock_id":"1626","time":1581759600,"price":"20.000"},{"stock_id":"1626","time":1581759900,"price":"20.000"},{"stock_id":"1626","time":1581760200,"price":"20.000"},{"stock_id":"1626","time":1581760500,"price":"20.000"},{"stock_id":"1626","time":1581760800,"price":"20.000"},{"stock_id":"1626","time":1581761100,"price":"20.000"},{"stock_id":"1626","time":1581761400,"price":"20.000"},{"stock_id":"1626","time":1581761700,"price":"20.000"},{"stock_id":"1626","time":1581762000,"price":"20.000"}]
         */

        private int id;
        private String name;
        private String head_thumb;
        private String stock_id;
        private String price;
        private String quote_change;
        private String listing_status;
        private String follow_num;
        private String average_price;
        private int today_divide;
        private List<PersonKLineBean.ListBean> kline;
        private int rise;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getHead_thumb() {
            return head_thumb;
        }

        public void setHead_thumb(String head_thumb) {
            this.head_thumb = head_thumb;
        }

        public String getStock_id() {
            return stock_id;
        }

        public void setStock_id(String stock_id) {
            this.stock_id = stock_id;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getQuote_change() {
            return quote_change;
        }

        public void setQuote_change(String quote_change) {
            this.quote_change = quote_change;
        }

        public String getListing_status() {
            return listing_status;
        }

        public void setListing_status(String listing_status) {
            this.listing_status = listing_status;
        }

        public String getFollow_num() {
            return follow_num;
        }

        public void setFollow_num(String follow_num) {
            this.follow_num = follow_num;
        }

        public String getAverage_price() {
            return average_price;
        }

        public void setAverage_price(String average_price) {
            this.average_price = average_price;
        }

        public int getToday_divide() {
            return today_divide;
        }

        public void setToday_divide(int today_divide) {
            this.today_divide = today_divide;
        }

        public List<PersonKLineBean.ListBean> getKline() {
            return kline;
        }

        public void setKline(List<PersonKLineBean.ListBean> kline) {
            this.kline = kline;
        }

        public int getRise() {
            return rise;
        }

        public void setRise(int rise) {
            this.rise = rise;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(this.id);
            dest.writeString(this.name);
            dest.writeString(this.head_thumb);
            dest.writeString(this.stock_id);
            dest.writeString(this.price);
            dest.writeString(this.quote_change);
            dest.writeString(this.listing_status);
            dest.writeString(this.follow_num);
            dest.writeString(this.average_price);
            dest.writeInt(this.today_divide);
            dest.writeList(this.kline);
            dest.writeInt(this.rise);
        }

        public ListBean() {
        }

        protected ListBean(Parcel in) {
            this.id = in.readInt();
            this.name = in.readString();
            this.head_thumb = in.readString();
            this.stock_id = in.readString();
            this.price = in.readString();
            this.quote_change = in.readString();
            this.listing_status = in.readString();
            this.follow_num = in.readString();
            this.average_price = in.readString();
            this.today_divide = in.readInt();
            this.kline = new ArrayList<PersonKLineBean.ListBean>();
            in.readList(this.kline, PersonKLineBean.ListBean.class.getClassLoader());
            this.rise = in.readInt();
        }

        public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }
}
